<template>
  <div>
    <a @click="login()">登录</a>
    <a @click="regist()">注册</a>
    <a @click="admin()">管理员</a>
    <a @click="teacher()">教师</a>
    <a @click="student()">学生</a>
    <a @click="course()">课程</a>
    <a @click="loginOut()">登录退出</a>
    <br>
  </div>
</template>

<script>
import router from "@/router";


export default {

  methods:{
    login(){
      router.push("/login");
    },
    regist(){
      router.push("/regist");
    },
    admin(){
      router.push("/admin");
    },
    teacher(){
      router.push("/teacher/teacher_course/teacher_courseall");
    },
    student(){
      router.push("/student");
    },
    course(){
      router.push("/course");
    },
    loginOut(){

    }
  }
}
</script>

<style scoped>

</style>
